#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a[9] = { 9,6,4,2,3,5,7,0,1 };
	reserve(a, left, right);

}
void reserve(int *a; int left,int right)
{
	for (int i = 0; i < left; i++, left--)
	{
		char t = *(a+i);
		*(a + i) = *(a+left);
		*(a + left) = t;
	}
}